

Route::group(function () {
    //抽卡
        Route::get("/card_index", "app\api\controller\Card@index")->name("card.card_index");// 抽卡首页
        Route::post("/card_draw", "app\api\controller\Card@draw")->name("card.card_draw");// 抽卡
    })
->allowCrossDomain()
->middleware(\app\api\middleware\TokenMiddleware::class,true);// jwt认证